﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace FoodModel
{
    /// <summary>
    ///  份量表
    /// </summary>
    [Table("Vegetables")]
    public class Vegetables
    {
        /// <summary>
        ///  份量ID
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int VegetablesId { get; set; }
        /// <summary>
        /// 份量名称
        /// </summary>
        [SugarColumn(IsPrimaryKey = false)]
        public string? VegetablesName { get; set; }
    }
}
